<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<style type="text/css">
input, select {
	width: 120px;
	height: 26px;
}

input[type=text] {
	height: 20px;
}

.list td {
	border: 1px solid #eeeeee;
}
</style>

<script src="resources/js/jquery.json-2.4.js"></script>
<script type="text/javascript">
	var pageSize = 10;
	
	$(function() {
		getPolicyList(1);
	});
	
	function getPolicyList(num) {
		var param = {
			num: num,
			pageSize: pageSize
		};
		
		$.ajax({
			url: "getPolicyList.ga",
			type: "post",
			dataType: "html",
			data: {
				param: $.toJSON(param)
			},
			success: function(data) {
				$("#div_result").html(data);
			},
			error: function() {
				alert("오류");
			}
		});
	}
	
</script>

</head>
<body>

<h2>운영 정책 목록</h2>
<table style="width:100%;">
	<tr>
		<td align="right">
			<input type="button" value="운영정책 등록" class="bigBtn" onclick="location.href='regPolicyForm.ga'"/>
		</td>
	</tr>
</table>
<br/>

<div id="div_result"></div>

</body>
</html>